#ifndef BE_PARSER_H_INCLUDED
#define BE_PARSER_H_INCLUDED

#include <string>
#include <iostream>
#include "LinearMath/btVector3.h"

class BeParser
{
	public:
// 		static BeParser* Instance();
		BeParser();
		~BeParser();


		bool parseUnsignedInt(std::string& string, unsigned int& value);
		bool parseFloat(std::string& string, float& value);
		bool parseVector3( std::string& string, btVector3& value );
			
		std::string	returnUntillStrip(std::string stop, std::string &line);
		std::string	returnUntill(std::string stop, std::string &line);

		bool		beginMatches(std::string stop, std::string &line);
		bool		beginMatchesStrip(std::string stop, std::string &line);

		bool		endMatches(std::string stop, std::string &line);
		bool		endMatchesStrip(std::string stop, std::string &line);
		unsigned int	contains(unsigned int start, std::string stop, std::string &line);

	protected:
	private:
};

#endif
